package xerr

const ERROR = 0
const SUCCESS = 1

const UNKNOW_ERROR = 10000
const SERVER_COMMON_ERROR = 10001

const PARAM_FORMAT_ERROR = 10002
const PARAM_ERROR = 10003

// jwt

const TOKEN_EXPIRED = 40000
const TOKEN_NOT_VALID_YET = 40001
const TOKEN_MALFORMED = 40002
const TOKEN_INVALID = 40003
const TOKEN_FAIL_CREATE = 40004
const LOGIN_EXPIRETION = 40005

// DB
const RECORD_DUPLICATER = 5500
const RECORD_NOT_EXIT = 5501

// USER
const NOT_LOGIN = 10004
const USER_NOT_EXIT = 10006

// POST
const POST_NOT_EXIT = 20001
